Skip to content

Guide deploy ghost#699

Open
Juju-archy wants to merge 2209 commits into
mainfrom
guide-ghost-blog-documentation
Open

Guide deploy ghost#699
Juju-archy wants to merge 2209 commits into
mainfrom
guide-ghost-blog-documentation

Conversation

@Juju-archy
Copy link
Copy Markdown
Contributor

Describe your PR

Guide to deploy Ghost Blog (Node.js, Cellar, MySQL) on Clever Cloud

Checklist

Reviewers

Who should review these changes? @CleverCloud/reviewers

davlgd and others added 30 commits March 19, 2025 18:57
## Describe your PR

This PR adds an entry about parhds and update cli/dns documentation
## Describe your PR

This PR add entries about latest Terraform provider updates
## Describe your PR

This PR:
- adds Mailpace/Otoroshi
- removes Beta mention from GA add-ons
- fixes some links
Co-Authored-By: Aurélien HÉBERT <aurrelhebert@gmail.com>
Co-Authored-By: Pierre DE SOYRES <104012218+pdesoyres-cc@users.noreply.github.com>
## Describe your PR

_Summarize your changes here : Modified product support page to be a bit
more detailled in the title and look better like the rest of the
documentation.


## Checklist

- [ ] My PR is related to an opened issue : #
- [ ] I've read the [contributing
guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md)


## Reviewers
_Who should review these changes?_ @CleverCloud/reviewers
## Describe your PR

I've made some UI fixes in the titles that appear in the sidebar.
We don't change the `title`, but we add `linkTitle` with a shorter name.


## Checklist

- [ ] My PR is related to an opened issue : #
- [x] I've read the [contributing
guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md)


## Reviewers
@CleverCloud/reviewers
## Describe your PR

Github action "Clever Cloud review app on PRs" link was broken

Co-authored-by: Clément Nivolle <cnivolle@gmail.com>
## Describe your PR

This PR fixes dead links and aliases to CLI pages
## Describe your PR

This PR fixes more dead links/aliases
## Describe your PR

This PR fix two broken images links
## Describe your PR

This PR adds "with Apache" mention to PHP/Static runtimes where Apache
is used.
## Describe your PR

Complete PM 2025 03 03 with databases actions

@CleverCloud/reviewers @StevenLeRoux @davlgd
## Describe your PR

This PR updates Redirection.io agent availability
@davlgd davlgd force-pushed the guide-ghost-blog-documentation branch from 00e7b42 to 9782ba1 Compare July 24, 2025 20:34
Copy link
Copy Markdown
Collaborator

@davlgd davlgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, I suggested changes. The most big part is that we can provide an example git repository the user just need to clone/fork and then create/configure the application to deploy


## Installation and Configuration

### Initialize Your Project
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this part is mostly moving files/editing config of the Ghost project, maybe we could just:

  • Do it in a Clever Cloud repo
  • Provide the preconfigured repo link, users just have to clone it
  • Provide users needing more info about Ghost and how it works a link to Ghost doc

Comment thread content/guides/tutorial-ghost-blog.md Outdated
Comment on lines +78 to +79
clever addon create mysql-addon --plan s_sml myblogsql
clever service link-addon myblogsql
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can link it at add-on creation

Comment on lines +84 to +90
```sh
clever env set database__connection__host <ADDON_HOST>
clever env set database__connection__user <ADDON_USER>
clever env set database__connection__password <ADDON_PASSWORD>
clever env set database__connection__database <ADDON_DATABASE>
clever env set database__connection__port <ADDON_PORT>
clever env set url https://<domain_URL_blog>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a binding script, as we do in oTree guide for example. If the user changes the add-on or if config changes, it will still work

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a .sh script with the env variables directly to make everything more persistent?

Comment on lines +99 to +100
clever addon create cellar-addon --plan s_sml <cellar-app>
clever service link-addon <cellar-app>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link at creation

If you use a binding script maybe you can:

  • Create add-ons
  • Create the binding script
  • Configure env

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand, you want me to put a script to execute directly?

Comment on lines +249 to +255
clever env set mail__from "your-email@example.com"
clever env set mail__options__service "your-mail-service" # e.g. Mailgun, Gmail, etc.
clever env set mail__options__host "smtp.yourmail.com"
clever env set mail__options__port "587"
clever env set mail__options__secureConnection "false"
clever env set mail__options__auth__user "your-smtp-username"
clever env set mail__options__auth__pass "your-smtp-password"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to use mailpace here ? Maybe we can use a tab to show how to setup both classic SMTP and Mailpace?

Comment thread content/guides/tutorial-ghost-blog.md Outdated
Comment on lines +268 to +269
git remote add clever <CLEVER_GIT_URL>
git push clever <branch>:master
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user clever deploy


## More Information

For a small blog, you can use the XS or S Node.js plan.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe provide this info as a [!TIP] when we tell the user how to create the application

Comment thread content/guides/tutorial-ghost-blog.md Outdated
Co-authored-by: David Legrand <1110600+davlgd@users.noreply.github.com>
Co-authored-by: David Legrand <1110600+davlgd@users.noreply.github.com>
Co-authored-by: David Legrand <1110600+davlgd@users.noreply.github.com>
@davlgd
Copy link
Copy Markdown
Collaborator

davlgd commented Aug 12, 2025

@Juju-archy Thanks for the changes. I use this PR to test something for guides, I'll get back to you on it later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.